/**
 * @author Tobias Boehm
 *
 * 21.06.2011
 */
package org.anddev.andengine.extension.tbsengine.resource;

import org.anddev.andengine.extension.tbsengine.gameobject.UnitType;

/**
 * This is a container for expenses which have to be paid if you create a
 * unit of a specific {@link UnitType}.
 * 
 * @author Tobias Boehm
 *
 */
public class ResourceExpense {

	private final AbsBaseResourceType mResourceType;
	private final int mAmount;
	
	public ResourceExpense(final AbsBaseResourceType pResourceType, final int pAmount){
		
		this.mResourceType = pResourceType;
		
		this.mAmount = pAmount;
	}

	/**
	 * @return the mResourceType
	 */
	public AbsBaseResourceType getResourceType() {
		return mResourceType;
	}

	/**
	 * @return the mAmount
	 */
	public int getAmount() {
		return mAmount;
	}
}
